home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
DOS
/
UTILITY
/
PALERT24
/
DAY.BAT
next >
Wrap
DOS Batch File
|
1991-10-22
|
669b
|
46 lines
echo off
palert /d
rem NOTE: Errorlevels MUST be evaluated from the greatest to the lowest.
rem If you do not, the batch file will not work.
if errorlevel = 6 goto sat
if errorlevel = 5 goto fri
if errorlevel = 4 goto thu
if errorlevel = 3 goto wed
if errorlevel = 2 goto tue
if errorlevel = 1 goto mon
if errorlevel = 0 goto sun
goto error
:sat
echo Today is Saturday
goto end
:fri
echo Today is Friday
goto end
:thu
echo Today is Thursday
goto end
:wed
echo Today is Wedensday
goto end
:tue
echo Today is Tuesday
goto end
:mon
echo Today is Monday
goto end
:sun
echo Today is Sunday
goto end
:error
:end